
import gui.NxtEcompApp;
import java.awt.geom.AffineTransform;
import java.awt.geom.PathIterator;
import java.awt.geom.Rectangle2D;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author Beto
 */
public class NxtEcompMain {

    public static void main(String args[]) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(NxtEcompMain.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(NxtEcompMain.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(NxtEcompMain.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(NxtEcompMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        

        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new NxtEcompApp().setVisible(true);
            }
        });
//
//        Rectangle2D.Double r = new Rectangle2D.Double(5, 10, 10, 10);
//        AffineTransform a = new AffineTransform();
//        a.scale(2, 2);
//        PathIterator p = r.getPathIterator(a);
//
//        double[] x = new double[6];
//
//        while(!p.isDone()) {
//            p.currentSegment(x);
//
//            for (int i = 0; i < x.length; i++) {
//                double d = x[i];
//                System.out.println(d);
//            }
//            System.out.println("********");
//
//            p.next();
//        }

    }
}
